package com.study.装配bean注解;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * @author chenhs
 * @date 2019/9/8
 */
@Controller(value = "studentAction")
public class StudentActiion {
	@Autowired
	private IStudentService studentService;
	
	public  void addStudent(){
		System.out.println("action");
		studentService.addStudent();
	}
}
